package com.dce.dev.api.controller.basebusiness;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.dce.dev.api.common.tools.JsonFileTool;
import com.dce.dev.api.common.tools.json.JsonUtils;
import com.dce.dev.api.dto.base.ResultDTO;
import com.dce.dev.api.dto.basebusiness.appuser.RegisterAuditRecheckReqDTO;
import com.dce.dev.api.dto.basebusiness.appuser.RegisterDTO;
import com.dce.dev.api.dto.basebusiness.appuser.RegisterReqDTO;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;


/**
 * 基础接口
 */
@RestController
@RequestMapping("/registerManage")
@Api(value = "后台服务--注册管理", description = "后台服务--注册管理")
public class RegisterController {
	
    @RequestMapping(value = "/register", method = RequestMethod.POST)
    @ApiOperation(value = "注册")
    public ResultDTO<Void> register(@RequestBody RegisterReqDTO dtoReq) {
        return ResultDTO.success("注册成功");
    }
    
  
    @RequestMapping(value = "/auditRecheckUser", method = RequestMethod.POST)
    @ApiOperation(value = "审核质检人员注册申请")
    public ResultDTO<Void> auditRechekUser(@RequestBody RegisterAuditRecheckReqDTO dtoReq) {
        return ResultDTO.success("操作成功");
    }
    
}
